package com.example.jobback.websocket.po;


import com.example.jobback.websocket.common.MessageType;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @ClassName: Message
 * @Description: 消息实体类
 * @Author: lhb
 * @Date: 2025/5/24
 */
@Data
public class Message {
    private Long id;
    private Long fromUserId;
    private Long toUserId;
    private String fromRole;
    private String toRole;
    private Object message;
    private MessageType messageType;
    private LocalDateTime createdAt;
    private Boolean online;
}
